package com.wwg.market.ui.category.client;

import com.wwg.market.ui.dashboard.client.widgets.MyPage;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2011-11-10
 * Time: 18:06:26
 * To change this template use File | Settings | File Templates.
 */
public class CategoryManagerPage extends MyPage {
    private CategoryOperPageItem categoryOperItem;
    private CategoryPropertiesItem categoryPropertiesItem;

    @Override
    public void initWidgets() {
        categoryOperItem = new CategoryOperPageItem();
        categoryPropertiesItem = new CategoryPropertiesItem();
        registerItem(categoryOperItem);
        registerItem(categoryPropertiesItem);
    }

    @Override
    protected void ddOutMyPageModel() {
        categoryOperItem.ddOutModel(null);
        containerWrapper.setWidget(categoryOperItem);

    }

    @Override
    protected void initModel() {
        categoryOperItem.initModel();
        categoryPropertiesItem.initModel();
    }
}
